PWD := $(shell pwd)

ifndef CROSS_COMPILE 
CROSS_COMPILE =
endif

CC := $(CROSS_COMPILE)-gcc

all:clean native

clean:
	rm -f native
	rm -f sound

test:
	@echo $(PWD)
	@echo $(CC)

sound:
	$(CC) -o sound sound.c -lpthread  
	cp sound /tftpboot

native:
	$(CC) -o native native.c -lpthread  
	cp native /tftpboot
